package request

type RegisterUserForm struct {
	Mobile      string `form:"mobile" json:"mobile"  binding:"required"`           // 手机号
	Password    string `form:"password" json:"password"  binding:"required"`       // 密码
	PasswordNew string `form:"passwordNew" json:"passwordNew"  binding:"required"` // 密码
	NickName    string `form:"nick_name" json:"nick_name"  binding:"required"`     // 昵称
}

type LoginUserForm struct {
	Mobile   string `form:"mobile" json:"mobile"  binding:"required"`     // 手机号
	Password string `form:"password" json:"password"  binding:"required"` // 密码
}

/*
type User struct {
	Id uint32 `json:"id"`// 用户ID
	Mobile string `json:"mobile"`// 手机号
	Password string `json:"password"`// 密码
	NickName string `json:"nick_name"`// 昵称
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}

*/
